package com.itheima.dao;

import com.itheima.domain.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TestDao {
    void save(Student student);

    void delete(Integer id);

    void update(Student student);
    @Select("SELECT * FROM student")
    List<Student> findAll();

    Student findById(Integer id);
}
